SftTabs/NET 6.0

GetContents Method, SftTabs Class

Softel vdm, Inc.

Returns the contents of the control in an XML document.

Syntax      SftTabs Class (Softelvdm.SftTabsNET)

VB   

Public Shared Function GetContents( _
     ByVal SftTabsControl As SftTabs, _
     ByVal contents As PersistContentsEnum _
  ) As XmlDocument

C#   

public static XmlDocument GetContents(
     SftTabs SftTabsControl,
     PersistContentsEnum contents );

C++   

public: static XmlDocument^ GetContents(
     SftTabs^ SftTabsControl,
     PersistContentsEnum contents );

contents

Defines processing options.

PersistContentsEnum

Value

Description

None

0

No data is transferred.

TabsOnly

1

Tab contents are saved/loaded.

Props

256

All control property definitions are saved/loaded.

All

65535

All definitions are saved/loaded.

SftTabsControl

Defines the SftTabs/NET control whose contents are to be retrieved.

Return Value

An XML document containing the requested contents.

Comments

The GetContents method returns the contents of the control in an XML document.

Saving/loading the tab control contents using GetContents/SetContents saves/loads all data of the specified category (contents parameter).


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com